<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style>
*{
padding:0;
margin:0;
text-decoration:none;
}
body{
background:rgba(240, 240, 240, 0.4);

}
.box{
  text-align:center;
  color:black;
  margin-bottom:50px;
  font-size:30px;
}

form table tr td{
width:300px;
height:60px;
}
input[type="text"]{
width:250px;
height:40px;
border:0;
background:rgba(255, 255, 255, 1);

}
input[type="text"]:hover{
box-shadow:0px 1px 5px 10px rgba(170, 0, 0, 0.3);
}

input[type="submit"]{
width:150px;
height:30px;
}
input[type="submit"]:hover{
box-shadow:0px 3px 5px 7px rgba(170, 0, 0, 0.3);
}
.box1{
margin-top:20px;
margin-left:1000px;
}
</style>
<body>
<h2 class="box">修改地址信息</h2>
<form method="post" action="${pageContext.request.contextPath}/address/update">

<table width="100%"  border="0"  cellspacing="0" cellpadding="10">
  <tr>
  <td width="100px" align="right" >姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</td>
   <td>
   <input type="hidden" name="id" value="${model.id}">
    <input type="text" name="name" value="${model.name}"><br />
   </td>
  </tr>
  <tr>
  <td width="100px" align="right" >手机号码：</td>
   <td>
   <input type="text" name="phone" value="${model.phone}"><br />
   </td>
  </tr>
  <tr>
  <td width="100px" align="right" >城&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;市：</td>
   <td> <input type="text" name="city" value="${model.city}"><br />
   </td>
  </tr>
   <tr>
  <td width="100px" align="right" >详细地址：</td>
   <td>  <input type="text" name="address" value="${model.address}"><br />
   </td>
  </tr>
   <tr>
  <td width="100px" align="right" >备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</td>
   <td> <input type="text" name="remark" value="${model.remark}"><br />
   </td>
  </tr>
  
</table>

<div  class="box1"> <input type="submit" value="保存"></div>
</form>


<!-- 
<form method="post" action="${pageContext.request.contextPath}/address/update">
    <input type="hidden" name="id" value="${model.id}"><br />
    <input type="text" name="name" value="${model.name}"><br />
     <input type="text" name="phone" value="${model.phone}"><br />
     <input type="text" name="city" value="${model.city}"><br />
     <input type="text" name="address" value="${model.address}"><br />
      <input type="text" name="remark" value="${model.remark}"><br />
    <input type="submit" value="保存">
</form>
 -->
</body>
</html>